package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 特殊考勤天数对象 sl_special_attendance
 *
 * @author admin
 * @date 2024-07-11
 */
public class SlSpecialAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long sattendanceId;

    /** 年 */
    @Excel(name = "年")
    private String year;

    /** 月 */
    @Excel(name = "月")
    private String month;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 满勤天数 */
    @Excel(name = "满勤天数")
    private BigDecimal fullAttendance;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer faSort;

    /** 高温补贴 */
    @Excel(name = "高温补贴")
    private BigDecimal highTemperatureSubsidy;

    public void setSattendanceId(Long sattendanceId)
    {
        this.sattendanceId = sattendanceId;
    }

    public Long getSattendanceId()
    {
        return sattendanceId;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setMonth(String month)
    {
        this.month = month;
    }

    public String getMonth()
    {
        return month;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setFullAttendance(BigDecimal fullAttendance)
    {
        this.fullAttendance = fullAttendance;
    }

    public BigDecimal getFullAttendance()
    {
        return fullAttendance;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setFaSort(Integer faSort)
    {
        this.faSort = faSort;
    }

    public Integer getFaSort()
    {
        return faSort;
    }
    public void setHighTemperatureSubsidy(BigDecimal highTemperatureSubsidy)
    {
        this.highTemperatureSubsidy = highTemperatureSubsidy;
    }

    public BigDecimal getHighTemperatureSubsidy()
    {
        return highTemperatureSubsidy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("sattendanceId", getSattendanceId())
                .append("year", getYear())
                .append("month", getMonth())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("fullAttendance", getFullAttendance())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("faSort", getFaSort())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("highTemperatureSubsidy", getHighTemperatureSubsidy())
                .toString();
    }
}
